/**
 * @author LKQ
 * @date 2022/2/28 11:33
 * @description 二叉树结构, 写在整个module下，子module添加 leetcode 依赖即可找到
 */
public class TreeNode {
    int val;
    TreeNode left;
    TreeNode right;

    TreeNode() {
    }

    TreeNode(int val) {
        this.val = val;
    }

    TreeNode(int val, TreeNode left, TreeNode right) {
        this.val = val;
        this.left = left;
        this.right = right;
    }
}
